package br.edu.delta.service;

import javax.inject.Inject;

import br.edu.delta.bo.AcessoUsuarioBO;
import br.edu.delta.model.AcessoUsuario;
import br.edu.delta.util.Util;

/**
 * <p>
 * <b>Title:</b> AcessoUsuarioService
 * </p>
 * 
 * <p>
 * <b>Description:</b> AcessoUsuarioService
 * </p>
 * 
 * <p>
 * <b>Company: </b> 
 * </p>
 * 
 * @author Denis
 * 
 * @version 1.0.0
 */
public class AcessoUsuarioService extends AppService<AcessoUsuario, AcessoUsuarioBO> {

	/** Atributo serialVersionUID. */
	private static final long serialVersionUID = 1L;

	/** Atributo bo. */
	@Inject
	private AcessoUsuarioBO bo;

	/**
	 * Método responsável por criptografar senha do usuario
	 * 
	 * @author Denis
	 * 
	 * @param senha
	 * @return
	 */
	public String criptografarSenha(final String senha) {
		
		return Util.senhaCriptografada(senha);
	}

	/**
	* @see br.edu.delta.service.Service#getBo()
	*/
	@Override
	public AcessoUsuarioBO getBo() {

		return this.bo;
	}

}
